Conversation
Contributor
Author
|
@cms-flaf-bot please test |
|
pipeline#13959841 started |
|
pipeline#13959841 passed |
kandrosov
approved these changes
Feb 4, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates Run 3 configuration and analysis code to align processes, datasets, and global settings with the correct Run 2022–2024 productions, and introduces a configurable low-mass dimuon cut in the analysis baseline.
Changes:
- Reorganizes DY, EWK, Higgs, TT/ST/TW/TTX, and data processes across Run3 2022/2022EE/2023/2023BPix/2024, including new EWK 2μ2j and detailed VBF/ggH/VH/TTH signal processes, and updates
phys_models.yamlaccordingly. - Extends dataset catalogs for these eras with the appropriate NanoAOD/MiniAOD campaign paths, adds generator and cross-section metadata, and wires new data-taking periods.
- Adds
nano_versionand related globals to Run 3global.yamlfiles, switches the jet-veto logic to use it, and introducesLowerMassCutin the baseline to enforce an m(μμ) > 45 GeV selection at the RDataFrame level.
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| config/processes.yaml | Defines new DY stitching anchors for all- and single-flavor DY, used by Run 3 process configs. |
| config/phys_models.yaml | Updates base model background and signal process lists to reference the new Run 3 processes. |
| config/Run3_2024/processes.yaml | Aligns DY, W, EWK, Higgs, TT/ST/TW/TTX, signal, and data processes with 2024 datasets and new DY processors. |
| config/Run3_2024/global.yaml | Adds nano_version: v15 and explicit nanoAODVersions for Run3_2024. |
| config/Run3_2024/datasets.yaml | Registers 2024 DY, EWK, Higgs, TTLNu-EWK, and other samples with NanoAOD/MiniAOD paths. |
| config/Run3_2023BPix/processes.yaml | Reworks 2023BPix DY, EWK, signal, and TTX processes to use common DY processors and new EWK/EWK2μ2j entries. |
| config/Run3_2023BPix/global.yaml | Adds nano_version: v12, met_type, and explicit NanoAOD versions for 2023BPix. |
| config/Run3_2023BPix/datasets.yaml | Defines 2023BPix DY, EWK, TTLNu-EWK, and Higgs samples with generator and NanoAOD/MiniAOD metadata. |
| config/Run3_2023/processes.yaml | Mirrors 2023BPix process reorganization for the non-BPix 2023 era. |
| config/Run3_2023/global.yaml | Adds nano_version: v12, met_type, and NanoAOD versions for 2023. |
| config/Run3_2023/datasets.yaml | Adds 2023 DY(105–160), EWK, TTLNu-EWK, and detailed Higgs sample definitions. |
| config/Run3_2022EE/processes.yaml | Reorganizes 2022EE DY, EWK, signal, and data processes similarly to 2023/2023BPix. |
| config/Run3_2022EE/global.yaml | Adds nano_version: v12, met_type, and NanoAOD versions for 2022EE. |
| config/Run3_2022EE/datasets.yaml | Registers 2022EE DY(105–160), EWK, TTLNu-EWK, and Higgs datasets. |
| config/Run3_2022/processes.yaml | Reorganizes 2022 processes: DY via all-flavor processors, EWK2μ2j, Higgs signals, and data groupings. |
| config/Run3_2022/global.yaml | Adds nano_version: v12, met_type, and NanoAOD versions for 2022. |
| config/Run3_2022/datasets.yaml | Adds 2022 DY(105–160), EWK, Higgs samples, and private LLJJ productions with FS paths. |
| FLAF | Updates the FLAF submodule to a newer commit that likely supports the new configs and processing logic. |
| AnaProd/baseline.py | Introduces LowerMassCut to define m(μμ) and apply an m > 45 GeV filter. |
| AnaProd/anaTupleDef.py | Adjusts Jet NanoAOD V12 variable list, switches isV12 detection to nano_version, and applies LowerMassCut in the analysis chain. |
Comments suppressed due to low confidence (2)
config/Run3_2023BPix/datasets.yaml:1
- As in the 2024 config, the
generatorstring for all VBFH amc@nlo samples is misspelled asamcanlo; this should be corrected toamcatnloso that generator-based logic and metadata remain consistent across eras.
#### DY samples ####
AnaProd/anaTupleDef.py:1
- Using
global_params["nano_version"]assumes every configuration defines this key; to avoidKeyErrorwhen running on configs that have not yet been updated (e.g. older eras), it would be safer to access this with a default (or handle its absence) and/or documentnano_versionas a required field in allglobal.yamlfiles.
import AnaProd.baseline as AnaBaseline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is intended because I realized that in Run2024 config the data processes were the 2022 ones